from users.views import *
from django.urls import path

urlpatterns = [
    path('register/', RegisterView.as_view(),name ='register'),
    path('imagecode/',ImageView.as_view(),name = 'imagecode'),
    path('smscode/',SmsCodeView.as_view(),name = 'smscode'),
    path('login/',LoginView.as_view(),name = 'login'),
    path('logout/',LogoutView.as_view(),name = 'logout'),
    path('forgetpassword/', ForgetPasswordView.as_view(),name='forgetpassword'),
    path('usercenter/',UserCenterView.as_view(),name='usercenter'),
    path('writeblog/',WriteBlogView.as_view(),name='writeblog'),
]
